#ifndef _GETCH_H
#define _GETCH_H

#define   MOVETO(x, y)     printf("\033[%d;%dH", (x), (y))
#define   HIDE_CURSOR()    printf("\033[?25l")
#define   SHOW_CURSOR()    printf("\033[?25h")
#define   CLOSE()          printf("\033[0m")
#define   ENTER            13
#define   UP               65
#define   DOWN             66
#define   RIGHT            67
#define   LEFT             68

extern int getch(void);

#endif
